package com.gitee.xmhzzz.device.service.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @ClassName DeviceConfig
 * @Description
 * @Author wzq
 * @Date 2024/7/14 12:50
 * @Version 1.0
 */

@Getter
@Setter
@ToString
@TableName("device_config")
@Schema(defaultValue = "DeviceConfig对象", description = "设备配置表")
public class DeviceConfig {

    @Schema(name = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(name = "设备号")
    private String deviceId;

    @Schema(name = "物模型")
    private String thingsModel;

    @Schema(name = "创建人")
    private String createBy;

    @Schema(name = "创建时间")
    private LocalDateTime createTime;

    @Schema(name = "修改人")
    private String updateBy;

    @Schema(name = "创建时间")
    private LocalDateTime updateTime;

}
